<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="my" uri="/mytags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="/admin/jsp/common/HtmlHead.jsp"/>
<title>Insert title here</title>
</head>
<body>
	<div id="page_main">
		<div class="top_bar">
			<span class="sta_pos">当前位置：</span><span>系统管理</span>
			&gt;
			<span>管理员列表</span>
		</div>
		<div class="tool_bar">
			<s:a action="edit" cssClass="btn" style="float:right;margin-right:12px;"><span>添加</span></s:a>
		</div>
		<div class="con_list">
			<table width="100%" border="0" class="list_tab" cellpadding="0" cellspacing="0">
				<tr>
					<th>姓名</th>
					<th>状态</th>
					<th style="width:120px;">操作</th>
				</tr>
				<s:iterator value="adminList">
				<tr>
					<td>
						<s:property value="realName"/>
					</td>
					<td>
						<s:property value="%{getI18nValue('system.userStatus',status)}"/>
					</td>
					<td>
						<s:a action="edit">
							<s:param name="admin.id" value="id"/>
							编辑
						</s:a>
						|
						<s:url id="delUrl" action="delete">
							<s:param name="admin.id" value="id"/>
						</s:url>
						<a href="javascript:deleteConfirm('<s:property value="#delUrl"/>')">
							删除
						</a>
					</td>
				</tr>
				</s:iterator>
			</table>
		</div>
	<div class="page_ctn">
		<my:pagination totalPageCount="pageBean.totalPageCount" totalRecordCount="pageBean.totalRecordCount"
			pageNo="pageBean.pageNo" theme="number">
			<s:param name="admin.realName" value="@java.net.URLEncoder@encode(admin.realName,'utf-8')"/>
		</my:pagination>
	</div>
	</div>
</body>
<jsp:include page="/admin/jsp/common/errorMessage.jsp"/>
</html>